<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var arr1 = [3,6,5,1];
        var re1 = arr1.shor();
        console.log(arr1);
        console.log(re1);

        var arr2 = [4,9,11,3];
        var re2 = arr2.shot(Function(a,b));{
            if(a>b){
                
                return 1;
            }
        }
        console.log(arr1);
        console.log(re1)；
    </script>
</body>
</html>